//
//  SEPrescriptionListNewView.swift
//  SmartEyeForDoctor
//
//  Created by QDSG on 2021/5/10.
//

import UIKit

class SEPrescriptionListNewView: UIView {
    
    var newPrescriptionHandler: (() -> Void)?

    @IBOutlet private weak var newButton: UIButton! {
        didSet {
            newButton.setLayerCorners(rect: newButton.bounds, radius: newButton.height / 2)
            newButton.setShadow()
        }
    }
    
    @IBAction private func newPrescriptionAction() {
        newPrescriptionHandler?()
    }

}
